﻿@model ESN.Models.Group
<div class="ui-corner-all ui-widget-content">
    <img width="160" src="@Model.Avatar" alt="avatar" />
    <div>@Model.GName</div>
    @if (ViewBag.ShowFriendRequest)
    {
        <div id="submitedDialog">
            <div id="friendRequessNote"></div>
            <div id="requestArea">
                <img width="20px" src="@Model.Avatar" alt="avatar" />
                say some thing to <span><a href="/Group/Home/@Model.GId">@Model.GName</a></span>
                <textarea id="sayHi" rows="3" cols="20" style="width:100%;"></textarea>
                <input type="button" id="okSubmit" value="Send" />
            </div>
        </div>
        <input type="button" id="makeFriend" value="Send Friend Request" />
    }
    <div><a href="/Group/Members/@Model.GId">@Model.GName Member List</a></div>
</div>
